package com.carlinfo.userscenter.users.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.carlinfo.userscenter.common.util.PageInfoUtil;
import com.carlinfo.userscenter.users.pojo.AAdmins;
import com.carlinfo.userscenter.users.pojo.ARole;

public interface IUsersService
{
	JSONObject saveOneRoleService(ARole role);
	     
	JSONObject updateOneRoleService(ARole role);

	JSONObject deleteOneRoleService(ARole role);

	ARole findOneRoleService(Map<String, Object> condMap);

	List<ARole> findCondListRoleService(PageInfoUtil pageInfoUtil, Map<String, Object> condMap);

	JSONObject savOneAdminsService(AAdmins admins);
        
	JSONObject updateOneAdminsService(AAdmins admins);
	
	AAdmins findOneAdminsService(Map<String, Object> condMap);
	
	List<AAdmins>findCondListAdminsService(PageInfoUtil pageInfoUtil ,Map<String, Object> condMap);
}
